package org.keyuan.dao;

import java.util.List;

import org.keyuan.util.PageUtil;

public interface Dao<T> {
	public boolean delete(Class<T> clazz,Integer id);
	public boolean insert(T t);
	public boolean update(T t);
	public List<T> getPagingdata(Class<T> entityClass,PageUtil<T> pageUtil);
	public T getEntity(Class<T> entityClass,Integer id);
}
